Skip to content

Fix : Announcing static addresses for mDNS #3096

Closed
MOHANKUMAR-IT wants to merge 12 commits intolibp2p:masterfrom
MOHANKUMAR-IT:mdnsipchangeannounce
Closed

Fix : Announcing static addresses for mDNS #3096
MOHANKUMAR-IT wants to merge 12 commits intolibp2p:masterfrom
MOHANKUMAR-IT:mdnsipchangeannounce

Conversation

@MOHANKUMAR-IT
Copy link
Copy Markdown

Re-register proxy on local address change event from libp2p host

  • Subscribe to local address update events from libp2p host
  • On address change, shut down the existing mDNS server and re-register with updated address

FIxes : #1163

MOHANKUMAR-IT and others added 6 commits December 9, 2024 21:58
- Subscribe to local address update events from libp2p host
- On address change, shut down the existing mDNS server and re-register with updated address
- Subscribe to local address update events from libp2p host
- On address change, shut down the existing mDNS server and re-register with updated address
@MarcoPolo
Copy link
Copy Markdown
Collaborator

Did you manage to test that this works for you? I wonder if we have to start the resolver as well.

@MarcoPolo
Copy link
Copy Markdown
Collaborator

I think we do need to restart the resolver as well.

Could you please add a test case as well?

@MOHANKUMAR-IT
Copy link
Copy Markdown
Author

I'll also add a test case to ensure the behavior is covered and working as expected. Thank you for pointing it out!

@MarcoPolo
Copy link
Copy Markdown
Collaborator

Automatically closing old open PRs. If you're still interested in merging this please open the PR again and rebase from the latest master, otherwise do nothing.

@MarcoPolo MarcoPolo closed this Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

advertise updated addresses via mDNS

2 participants